using System;
using System.IO;

namespace WindowsAPI.Service
{
    [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
    sealed class DllAttribute : Attribute
    {
        public string FileName { get; private set; }

        public FileInfo File { get { return new FileInfo(FileName); } }

        public string Description { get; set; }

        public DllAttribute(string FileName)
        {
            this.FileName = FileName;
        }
    }
}